package com.leiting.mail.util.properties.factory.builder;

import com.leiting.mail.util.MailConstant;

import java.util.Properties;


public class MailPop3StorePropertiesBuilder {

    private MailPop3StorePropertiesBuilder(){}

    public static Properties build(String pop3Server){
        Properties props = new Properties();
        props.setProperty("mail.store.protocol", MailConstant.PROTOCOL_TYPE_POP3);
        props.setProperty("mail.pop3.host", pop3Server);

        return props;
    }
}
